//
//  CollectionRefreshFailureCallback.m
//  YiJuZhangShou2.0
//
//  Created by URANUS on 16/4/27.
//  Copyright © 2016年 Mr.X. All rights reserved.
//

#import "CollectionRefreshFailureCallback.h"
#import "RefreshUtil.h"

@implementation CollectionRefreshFailureCallback


- (void)manager:(NetworkingBaseManager *)manager callAPIDidFailed:(NSError *)error andTask:(NSURLSessionDataTask *)task{
    [super manager:manager callAPIDidFailed:error andTask:task];
    if (_collectionView != nil) {
        [_collectionView.mj_header endRefreshing];
        [_collectionView.mj_footer endRefreshing];
    }
}

@end
